FROM maven:3.6.2-jdk-13 AS MAVEN_BUILD
ADD . /app
WORKDIR /app/
#RUN mvn clean package
RUN mvn install -Dmaven.test.skip=true
EXPOSE 8080
ENTRYPOINT java -Dspring.profiles.active=test -Djava.security.egd=file:/dev/./urandom -jar target/*.jar